#
# Be sure to run `pod lib lint XCGrowingTextView.podspec' to ensure this is a
# valid spec before submitting.
#
# Any lines starting with a # are optional, but their use is encouraged
# To learn more about a Podspec see https://guides.cocoapods.org/syntax/podspec.html
#

Pod::Spec.new do |s|
  s.name             = 'XCGrowingTextView'
  s.version          = '0.3.2'
  s.summary          = 'A short description of XCGrowingTextView.'

  s.homepage         = 'https://gitee.com/chengssir/XCGrowingTextView'
  s.license          = { :type => 'MIT', :file => 'LICENSE' }
  s.author           = { 'chengssir@sina.com' => 'chengssir@sina.com' }
  s.source           = { :git => 'https://gitee.com/chengssir/XCGrowingTextView.git', :tag => s.version.to_s }

  s.ios.deployment_target = '10.0'

  s.swift_version    = "5.0"

  if ENV['use_code'] or ENV[s.name+'_use_code']
    s.source_files = 'XCGrowingTextView/Classes/**/*'
  else #Framework模式
      # s.ios.vendored_frameworks = [
      # 'Frameworks/XCCategory_Swift.xcframework',
      # 'Framework/FURenderKit.framework'
      # ]
    s.vendored_frameworks = 'Frameworks/XCGrowingTextView.xcframework'
  end
end
